package com.ruoyi.project.applet.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 比例设置对象 t_ratio
 * 
 * @author ruoyi
 * @date 2025-06-01
 */
public class Ratio extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 第一个 */
    @Excel(name = "第一个")
    private BigDecimal firstRatio;

    /** 第二个 */
    @Excel(name = "第二个")
    private BigDecimal secondRatio;

    /** 第三个 */
    @Excel(name = "第三个")
    private BigDecimal thirdRatio;

    /** 利润 */
    @Excel(name = "利润")
    private BigDecimal fourRatio;

    /** 抽佣10% */
    @Excel(name = "抽佣10%")
    private BigDecimal rakeOff;

    /** 普批拉第四个 */
    @Excel(name = "普批拉第四个")
    private BigDecimal pupiRatio;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public BigDecimal getFirstRatio() {
        return firstRatio;
    }

    public void setFirstRatio(BigDecimal firstRatio) {
        this.firstRatio = firstRatio;
    }

    public BigDecimal getSecondRatio() {
        return secondRatio;
    }

    public void setSecondRatio(BigDecimal secondRatio) {
        this.secondRatio = secondRatio;
    }

    public BigDecimal getThirdRatio() {
        return thirdRatio;
    }

    public void setThirdRatio(BigDecimal thirdRatio) {
        this.thirdRatio = thirdRatio;
    }

    public BigDecimal getFourRatio() {
        return fourRatio;
    }

    public void setFourRatio(BigDecimal fourRatio) {
        this.fourRatio = fourRatio;
    }

    public BigDecimal getRakeOff() {
        return rakeOff;
    }

    public void setRakeOff(BigDecimal rakeOff) {
        this.rakeOff = rakeOff;
    }

    public BigDecimal getPupiRatio() {
        return pupiRatio;
    }

    public void setPupiRatio(BigDecimal pupiRatio) {
        this.pupiRatio = pupiRatio;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("firstRatio", getFirstRatio())
            .append("secondRatio", getSecondRatio())
            .append("thirdRatio", getThirdRatio())
            .append("fourRatio", getFourRatio())
            .append("rakeOff", getRakeOff())
            .append("pupiRatio", getPupiRatio())
            .toString();
    }
}
